<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>注册</h1>
<form action="user/reg" method="post" enctype="application/x-www-form-urlencoded">
    name : <input name="name"><br>
    pwd : <input name="pwd"><br>
    email : <input name="email"><br>
    phone : <input name="phone"><br>
    age : <input name="age"><br>
  <button>提交</button>
</form>

<h1>上传头像</h1>
<form action="user/uploadHead" method="post" enctype="multipart/form-data">
    头像文件 : <input name="head" type="file"><br>
    <button>提交</button>
</form>


</body>
</html>